Motion of Mass Attached to a Spring